package com.zhao.staticProxy.proxy;

import com.zhao.staticProxy.Subject.SellTickets;
import com.zhao.staticProxy.RealSubject.TrainStation;

public class ProxyPoint implements SellTickets {

    SellTickets trainStation = new TrainStation();

    @Override
    public void sell() {
        System.out.println("Proxy sell ...");
        trainStation.sell();
    }
}
